<div class="container">
    <div class="panel dux-box">
        <div class="panel-tool">
            <form method="post" action="{url()}">
                <div class="form-inline">
                    <div class="form-group">
                        <div class="field">
                            <input type="text" class="input" id="keyword" name="keyword" size="20" value="{$pageMaps.keyword}" placeholder="ID/用户名/邮箱/用户组名">
                        </div>
                    </div>
                    <div class="form-button">
                        <button class="button" type="submit">查找</button>
                    </div>
                </div>
            </form>
        </div>
        <table id="table" class="table table-hover thread-list">
            <tbody>
                <tr>
                    <th width="100">编号</th>
                    <th width="*">用户名</th>
                    <th width="*">邮箱</th>
                    <th width="*">用户组</th>
                    <th width="100">操作</th>
                </tr>
                <!--if{!empty($pageList)}-->
                <!--loop{$pageList as $vo}-->
                <tr>
                    <td>{$vo.user_id}</td>
                    <td><a href="{url('forum/UserHome/index',array('user_id'=>$vo['user_id']))}" target="_blank">{$vo.username}</a>
                    </td>
                    <td>{$vo.email}</a>
                    </td>
                    <td><a href="{url('index',array('group_id'=>$vo['group_id']))}">{$vo.group_name}</a>
                    </td>
                    <td>
                        <a class="button bg-main button-small icon-pencil" href="{url('edit',array('user_id'=>$vo['user_id']))}" title="编辑"></a>
                        <a class="button bg-red button-small icon-trash-o js-del" href="javascript:;" url="{url('del')}" data="{$vo.user_id}" title="删除"></a>
                    </td>
                </tr>
                <!--{/loop}-->
                <!--{/if}-->
            </tbody>
        </table>
        <div class="panel-foot">{$page}</div>
    </div>
    <br>
</div>
<script>
    Do.ready('base', function () {
        $('#table').duxTable({});
    });
</script>